home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Original Shareware 1.1
/
The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso
/
16
/
pckat12.zip
/
KATSORT.BAT
< prev
next >
Wrap
DOS Batch File
|
1986-01-19
|
608b
|
25 lines
echo off
echo : PC-KAT (C) COPYRIGHT 1986, R.H. MARTIN. REVERSE SORT KATDIR.OUT FILE.
echo :
sort /r/+5 <katdir.out >katdir.srt
echo : Please read and answer 1 or 0
echo :
echo : 0. I want output file to go to console
echo : 1. I want output file to go to printer
kprint -?1
if errorlevel 1 goto pr
goto con
:pr
type katdir.srt>prn
goto end
:con
type katdir.srt|more
goto end
:end
echo : Please read and answer 1 or 0
echo :
echo : 0. I don't want KATDIR files deleted
echo : 1. I want KATDIR files deleted
kprint -?1
if errorlevel 1 del katdir.*